Tag Link | [File->Name] | Category | File |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | File |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
Returns the name of the file as it exists on the operating system.
[File Variable->Name]
No Parameters Required.
To return information about a file:
The [File->Name], [File->Path], and [File->Size] tags can be used to output the name, path, and size (in kilobytes) of a file. The example below outputs the file name, path, and size delimited by HTML line breaks.
[Var:'File'=(File: 'myfile.txt', File_OpenRead, File_ModeChar)]
[$File->Path]<br>
[$File->Name]<br>
[$File->Size]<br>
[$File->Close]
Substitution | ||
---|---|---|
|
|
|